Warning: package 'sf' was built under R version 4.4.3
Linking to GEOS 3.13.0, GDAL 3.10.1, PROJ 9.5.1; sf_use_s2() is TRUE
Warning: package 'leaflet' was built under R version 4.4.3
Warning: package 'sf' was built under R version 4.4.3
Linking to GEOS 3.13.0, GDAL 3.10.1, PROJ 9.5.1; sf_use_s2() is TRUE
Warning: package 'leaflet' was built under R version 4.4.3
Ini adalah Peta Jawa Timur
Jatim <- st_read("D:/SIG + Mandat Lanjut/SIG/JawaTimur/JawaTimur/JawaTimur.shp")Reading layer `JawaTimur' from data source
`D:\SIG + Mandat Lanjut\SIG\JawaTimur\JawaTimur\JawaTimur.shp'
using driver `ESRI Shapefile'
Simple feature collection with 38 features and 6 fields
Geometry type: MULTIPOLYGON
Dimension: XY
Bounding box: xmin: 110.8987 ymin: -8.78036 xmax: 116.2702 ymax: -5.048857
Geodetic CRS: WGS 84
leaflet(Jatim) %>%
addTiles() %>%
setView(lng = 112.76, lat = -7.25, zoom = 6) %>%
addPolygons(fillColor = "grey")When you click the Render button a document will be generated that includes both content and the output of embedded code. You can embed code like this:
1 + 1[1] 2
You can add options to executable code like this
[1] 4
The echo: false option disables the printing of code (only output is displayed).